//
//  KeyboardViewController.h
//  CocoaSynth
//
//  Created by Thomas Dupont on 17/02/10.
//  Copyright 2010 Apple Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class ModuleKeyboardViewController;
@class KeyboardButtonController;

@interface KeyboardViewController : NSViewController {	
	ModuleKeyboardViewController* module;
	IBOutlet KeyboardButtonController* noteDO;
	IBOutlet KeyboardButtonController* noteDOd;
	IBOutlet KeyboardButtonController* noteRE;
	IBOutlet KeyboardButtonController* noteREd;
	IBOutlet KeyboardButtonController* noteMI;
	IBOutlet KeyboardButtonController* noteFA;
	IBOutlet KeyboardButtonController* noteFAd;
	IBOutlet KeyboardButtonController* noteSOL;
	IBOutlet KeyboardButtonController* noteSOLd;
	IBOutlet KeyboardButtonController* noteLA;
	IBOutlet KeyboardButtonController* noteLAd;
	IBOutlet KeyboardButtonController* noteSI;
}

@property (assign) ModuleKeyboardViewController* module;

@property (retain) KeyboardButtonController* noteDO;
@property (retain) KeyboardButtonController* noteDOd;
@property (retain) KeyboardButtonController* noteRE;
@property (retain) KeyboardButtonController* noteREd;
@property (retain) KeyboardButtonController* noteMI;
@property (retain) KeyboardButtonController* noteFA;
@property (retain) KeyboardButtonController* noteFAd;
@property (retain) KeyboardButtonController* noteSOL;
@property (retain) KeyboardButtonController* noteSOLd;
@property (retain) KeyboardButtonController* noteLA;
@property (retain) KeyboardButtonController* noteLAd;
@property (retain) KeyboardButtonController* noteSI;

- (void)notePlayed:(float)theNote;

@end
